package com.isoft.filelistener.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DfoeDfdl {
    @JacksonXmlProperty(localName = "META")
    private MetaData metaData;

    @JacksonXmlProperty(localName = "DLTP")
    private String dltp;

    @JacksonXmlProperty(localName = "RECD")
    private String recd;

    @JacksonXmlElementWrapper(useWrapping = false)
    @JacksonXmlProperty(localName = "DFLT")
    private List<DfoeDfdlDflt> dflt;
}
